package com.flyinzhen.customer.repository;

import com.flyinzhen.customer.entity.CustBankCard;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface CustBankCardRepository extends JpaRepository<CustBankCard, Integer> {

	Optional<CustBankCard> findTopByCustId(String custId);
}